<%@ Page Language="C#" Inherits="PHSRAG.Insight21.Agreements.AgreementsRevenueBreakdown"
	CodeFile="AgreementsRevenueBreakdown.aspx.cs" %>

<%@ Register TagPrefix="cc1" Namespace="PHSRAG.Insight21.InsightWebControls" Assembly="PHSRAG.Insight21.InsightWebControls" %>
<%@ Register TagPrefix="cc2" Namespace="PHSRAG.WebControls" Assembly="PHSRAG.WebControls" %>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Revenue Breakdown</title>
	<link href="../Insight21.css" type="text/css" rel="stylesheet" />
</head>
<body>
	<form id="RevenueBreakdownForm" method="post" runat="server">
		<table class="Container">
			<tr>
				<td>
					<cc2:PostbackGuard ID="postBackGuard" runat="server" />
					<table class="Header" width="100%">
						<tr>
							<td>
								<cc1:Header ID="header" runat="server" OnNavigate="OnHeaderNavigate" />
							</td>
						</tr>
						<tr>
							<td>
								<cc1:AgreementsSubNavigation ID="agreementsSubNavigation" runat="server" EnableOverviewNavigation="true"
									OnNavigate="OnSubNavigate" />
							</td>
						</tr>
						<tr>
							<td>
								<cc1:AgreementDetailsSubNavigation ID="agreementDetailsSubNavigation" runat="server"
									OnNavigate="OnDetailsSubNavigate" />
							</td>
						</tr>
						<tr>
							<td>
								<cc2:BreadCrumb ID="breadcrumb" runat="server" OnNavigate="OnNavigate" />
							</td>
						</tr>
						<tr>
							<td>
								<cc1:ProjectHeaderBar ID="projectHeaderBar" runat="server" />
							</td>
						</tr>
					</table>
					<table class="SearchContainer" cellspacing="10">
						<tr>
							<td>
								<table class="SearchInDiv">
									<tr>
										<td>
											<cc1:CommonSearch ID="commonSearch1" runat="server" EmbeddedExtendedSearchControl="PHSRAG.Insight21.InsightWebControls/OverviewSearch"
												EmbeddedExtendedSearchControlProperties="CategoryAndAccountFilterVisible=false,BudgetStartEndFilterVisible=false,BudgetEndingFilterVisible=false,IncludeUserOrdersFilterVisible=false,RevenueDateFilterVisible=true"
												HideAllCommonControls="true" Module="Agreements" OnClearSelection="OnClearSelection"
												OnSearch="OnSearch" />
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<cc1:SearchCriteriaDisplay ID="searchCriteriaDisplay1" runat="server" />
							</td>
						</tr>
					</table>
					<table class="Invisible" cellspacing="10" id="dynamicTable">
						<tr>
							<td>
								<cc2:ActivityIndicator ID="activityIndicator" ContainerID="dynamicTable" runat="server" />
							</td>
						</tr>
						<tr>
							<td>
								<cc2:Annunciator ID="annunciator" runat="server" ContainerID="dynamicTable" />
							</td>
						</tr>
					</table>
					<table class="PlaceBar">
						<tr>
							<td class="PageName">
								Revenue Breakdown &nbsp;|&nbsp;&nbsp;<asp:Label ID="revenueTotal" runat="server" />
								&nbsp;|&nbsp;&nbsp;<asp:Label ID="feedDate" runat="server" />&nbsp;|&nbsp;<asp:Label
									runat="server" ID="currentYearRevenue"></asp:Label></td>
							<td align="right">
								<cc1:InsightDownloadBar ID="insightDownloadBar" runat="server" OnDownloadToExcel="OnDownloadToExcel"
									OnDownloadToPDF="OnDownloadToPDF" OnFailedAction="OnDownloadFailed" OnSendByEmail="OnSendByEmail"
									useRootHost="true" Visible="true" />
							</td>
							<td>
								&nbsp;</td>
						</tr>
					</table>
					<table width="100%" cellspacing="0">
						<tr>
							<td>
								<cc2:Pager ID="pagerAboveDataGrid" runat="server" OnFirstPage="OnFirstPage" OnLastPage="OnLastPage"
									OnNextPage="OnNextPage" OnPreviousPage="OnPreviousPage" />
							</td>
						</tr>
						<tr>
							<td>
								<asp:DataGrid ID="dataGrid" runat="server" AllowCustomPaging="True" AllowPaging="True"
									AllowSorting="True" AutoGenerateColumns="False" CssClass="DataGrid" OnItemCreated="OnItemCreated"
									OnItemDataBound="OnItemDataBound" OnSortCommand="OnSort" Width="100%">
									<AlternatingItemStyle CssClass="DataGridAlternatingItem" />
									<ItemStyle CssClass="DataGridItem" />
									<HeaderStyle CssClass="DataGridHeader" />
									<PagerStyle Visible="False" />
									<Columns>
										<asp:BoundColumn DataField="TransactionID" SortExpression="TransactionID" ReadOnly="True"
											HeaderText="TransactionID" Visible="False" />
										<asp:TemplateColumn HeaderText="Fund #" SortExpression="FundNumber" HeaderStyle-Wrap="False">
											<ItemTemplate>
												<asp:Label ID="lblFundNumber" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "FundNumber")%>'
													ToolTip='<%#DataBinder.Eval(Container.DataItem, "ToolTipForFund")%>'>
												</asp:Label>
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:BoundColumn DataField="EntryDescription" ReadOnly="True" HeaderText="Description" />
										<asp:BoundColumn DataField="AccountNumber" SortExpression="AccountNumber" ReadOnly="True"
											HeaderText="Account #" />
										<asp:BoundColumn DataField="AccountName" SortExpression="AccountName" ReadOnly="True"
											HeaderText="Account Name" />
										<asp:BoundColumn DataField="Amount" SortExpression="Amount" ReadOnly="True" HeaderText="Amount">
											<ItemStyle HorizontalAlign="Right" />
										</asp:BoundColumn>
										<asp:BoundColumn DataField="DatePosted" SortExpression="DatePosted" ReadOnly="True"
											HeaderText="Date" />
									</Columns>
								</asp:DataGrid></td>
						</tr>
						<tr>
							<td>
								<cc2:Pager ID="pagerBelowDataGrid" runat="server" OnFirstPage="OnFirstPage" OnLastPage="OnLastPage"
									OnNextPage="OnNextPage" OnPreviousPage="OnPreviousPage" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>
